package com.crm.customers.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;

/**
 * 文章表
	idbigint(20) NOT NULL
	titlevarchar(100) NULL文章标题
	typeint(11) NULL文章类别（0文章。1链接。2文件）
	provinceidbigint(20) NULL省份id
	contentlongtext NULL文章内容
	isdelint(11) NULL是否删除（0未1删）
	createdatedatetime NULL创建日期
	createuserbigint(11) NULL创建人
 * */
public class Article extends BaseModel {

	private static final long serialVersionUID = -9034722029211447877L;

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	
	private String title; //文章标题
	
	private Integer type; //文章类别
	
	private Long provinceid; //省份id
	
	private String content; //文章内容
	
	private int isdel; //是否删除
	
	/*----------------------------*/
	
	private String provincename; //省份名称

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getProvinceid() {
		return provinceid;
	}

	public void setProvinceid(Long provinceid) {
		this.provinceid = provinceid;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getIsdel() {
		return isdel;
	}

	public void setIsdel(int isdel) {
		this.isdel = isdel;
	}

	public String getProvincename() {
		return provincename;
	}

	public void setProvincename(String provincename) {
		this.provincename = provincename;
	}
	
}
